@charset "utf-8";
*{
	margin: 0;
	padding: 0;
	font-family: "宋体";
	font-size: 30px;
	
}
body{
	background: url(../bj.png);
	background-size: 100% 950px;
	background-repeat: no-repeat;
}
.yang{
	width: 200px;
	height: 200px;
	bor der: 1px solid red;
	background: url(../img/羊1.png);
	background-size: 100% 100%;
	position: relative;
	left: 1132px;
	top: -590px;
	animation: yang 8s linear infinite;
}
@keyframes yang{
		0%{
			left: 1132px;
			top: -590px;
			transform: rotate(0deg) scale(1);
		}
		10%{
			left: 1000px;
			top: -590px;
			background: url(../img/羊1.png);
			background-size: 100% 100%;
			transform: rotate(0deg) scale(1);
		}
		20%{
			left: 927px;
			top: -516px;
			background: url(../img/羊1.png);
			background-size: 100% 100%;
			transform: rotate(0deg) scale(1);
		}
		30%{
			left: 877px;
			top: -442px;
			transform: rotate(360deg) scale(1);
		}
		40%{
			left: 827px;
			top: -516px;
			transform: rotate(0deg) scale(1);
		}
		50%{
			left: 777px;
			top: -590px;
			background: url(../img/开心.gif);
			background-size: 100% 100%;
			transform: rotate(0deg) scale(1);
		}
		60%{
			left: 727px;
			top: -516px;
			background: url(../img/开心.gif);
			background-size: 100% 100%;
			transform: rotate(0deg) scale(1);
		}
		70%{
			left: 677px;
			top: -442px;
			background: url(../img/开心.gif);
			background-size: 100% 100%;
			transform: rotate(360deg) scale(1);
		}
		80%{
			left: 577px;
			top: -516px;
			background: url(../img/开心.gif);
			background-size: 100% 100%;
			transform: rotate(0deg) scale(1);
			
		}
		90%{
			left: 477px;
			top: -590px;
			background: url(../img/点赞.gif);
			background-size: 100% 100%;
			transform: rotate(0deg) scale(1);
		}
		100%{
			left: 377px;
			top: -590px;
			background: url(../img/点赞.gif);
			background-size: 100% 100%;
			transform: rotate(0deg) scale(1);
		}
}
.chi{
	width: 200px;
	height: 200px;
	bor der: 1px solid red;
	position: relative;
	left: 1170px;
	top: 120px;
	background: url(../img/吃草.gif);
	background-size: 100% 100%;
	animation: chi 8s linear infinite;
}
@keyframes chi{
	0%{
		left: 1170px;
		top: 120px;
	}
	25%{
		left: 850px;
		top: 120px;
		background: url(../img/吃草3.png);
		background-size: 100% 100%;
	}
	50%{
		left: 530px;
		top: 120px;
		background: url(../img/吃草3.png);
		background-size: 100% 100%;
	}
	75%{
		left: 210px;
		top: 120px;
		background: url(../img/吃草3.png);
		background-size: 100% 100%;
	}
	100%{
		left: -80px;
		top: 120px;
		background: url(../img/吃草2.png);
		background-size: 100% 100%;
	}
}
.gou{
	width: 200px;
	height: 300px;
	bor der: 1px solid red;
	position: relative;
	left: 140px;
	top: 0px;
	background: url(../img/羊和狗.png);
	background-size: 100% 100%;
	animation: gou 8s linear infinite;
}
@keyframes gou{
	0%{
		left: 140px;
		top: 0px;
		transform: rotate(0deg) scale(1);
	}
	50%{
		left: 140px;
		top: 0px;
		transform: rotate(180deg) scale(1);
	}
	100%{
		left: 140px;
		top: 0px;
		transform: rotate(360deg) scale(1);
	}
}
.ren{
	width: 200px;
	height: 200px;
	bo rder: 1px solid red;
	position: relative;
	left: 1120px;
	top: 307px;
	background: url(../img/人.png);
	background-size: 100% 100%;
	animation: ren 8s linear infinite;
	
}
@keyframes ren{
	0%{
		left: 1120px;
		top: 307px;
		transform: rotate(0deg) scale(1);
	}
	50%{
		left: 1120px;
		top: 307px;
		transform: rotate(0deg) scale(0.5);
	}
	100%{
		left: 1120px;
		top: 307px;
		transform: rotate(0deg) scale(1);
	}
}